package com.itheima.thread01;

public class Demo {
    public static void main(String[] args) {
        //创建线程对象
        MyThread mt = new MyThread();
        //又创建一个线程
        MyThread mt1 = new MyThread();
        //开启线程1
        mt.start();
        //mt.run();
        //开启线程2
       // mt1.run();
        mt1.start();

    }
}
